﻿@using HiLand.Framework.BusinessCore
@using HiLand.Utility4.MVC.Data
@model BusinessUser
@{
    ViewBag.Title = "用户登录";
    string returnUrl = this.GetPassedParam("returnUrl");
}
<div class="page-login">
    <div class="section-header">
        <h1>
            用户登录</h1>
        <p>
            还没有Legou365的账户? <a href="@Url.Action("Register", "Account")" class="signup-trigger">现在就注册一个</a>
        </p>
    </div>
    <div class="maincontent">
        <div id="msg">
        </div>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, "账号创建没有成功，请修改错误后进行重试.")
            <fieldset>
                <div class="row" id="row-email">
                    <label for="email">
                        用户名称</label>
                    <span class="text">
                        @Html.TextBoxFor(e => e.UserName)
                    </span><span class="error-note"></span>
                </div>
                <div class="row" id="row-password">
                    <label for="password">
                        口令</label>
                    <span class="text">
                        @Html.TextBoxFor(e => e.Password)
                    </span><span class="error-note"></span>
                </div>
                <div class="row">
                    <ul class="submit-options">
                        <li>
                            <button type="submit" tabindex="3" class="btn primary large blue">
                                登录 &raquo;</button>
                        </li>
                        <li>or <a href="/reminder/">如果忘记口令，请点击这里</a> </li>
                    </ul>
                </div>
            </fieldset>
            <input type="hidden" name="returnUrl" value="@returnUrl" />
        }
    </div>
</div>
